let num1 = 25;       // binary 00000000000000000000000000011001
let num2 = ~num1;    // binary 11111111111111111111111111100110
console.log(num2);   // -26
